Parameters
- value
- The byte array to be stored in the Value property.
public void ConstructMyBlob() { byte[] myByteArray = {1,2,3,4,5,6,7,8,9,10}; MySqlBlob myBlob = new MySqlBlob(myByteArray); myBlob.Seek(0,SeekOrigin.Begin); for (int i = 0; i<10;i++) { Console.WriteLine(myBlob.ReadByte()); } }
Public Sub ConstructMyBlob() Dim myByteArray() As Byte = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} Dim myBlob As MySqlBlob = New MySqlBlob(myByteArray) myBlob.Seek(0, SeekOrigin.Begin) Dim i As Integer For i = 0 To 9 Console.WriteLine(myBlob.ReadByte()) Next i End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2